Avoid Methods
October 8, 2009 · 24 views · 0 comments
Nearby In Time
Wierd Art Thing
October 5, 2009
Oddness of Architecture
October 5, 2009
Learning what NOT to do.
October 7, 2009
Top Scripts and Multi Gadget
October 8, 2009
Avoid Methods
October 8, 2009
MystiTool Performance
October 8, 2009
Radar Radar from Radar
October 8, 2009
Progress Bar Script
October 8, 2009
LSL, A language without string replacement
October 8, 2009
About
During my day job, I often separate code into functions for purposes of better manageability. Each function is a black box in a sense. It describes what it does, and goes ahead and does the job. In LSL, there are memory limitations. I find that the reverse is more beneficial. You can reclaim more memory by avoiding functions all together and putting the code in- line. A function should only exist if it is being called from two or more places within the code. I was able to reclaim about 6 KB of data tonight. I need to put down my work and breathe in some fresh air. I wonder when the old clouds will go away. From Dedric Mauriac via bloghud.com